VDAddKeyColor
Some video digitizer components can support more than one active key color. TheVDAddKeyColor
function allows applications to add a key color to a component's list of active key colors.
pascal VideoDigitizerError VDAddKeyColor (VideoDigitizerComponent ci, long *index);
- ci
- Specifies the video digitizer component for the request. Applications obtain this reference from the Component Manager's
OpenComponent
function.index
- Contains a pointer to the color to add to the key color list. The value of the
index
field corresponds to a color in the current color lookup table.DESCRIPTION
If the digitizer component cannot accommodate any more key colors, it returns a result code ofnoMoreKeyColors
.RESULT CODES
noErr 0 No error digiUnimpErr -2201 Function not supported qtParamErr -2202 Invalid parameter value noMoreKeyColors -2205 Key color list is full SEE ALSO
To ensure that the key color list contains only the desired colors, your application should use theVDSetKeyColor
function (described on page 8-82) to set the first key color.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help